#ifndef GUARD_PAYLOAD_H_
#define GUARD_PAYLOAD_H_

#include <time.h>

#define PICTLENGTH 4
#define CHAR_BUFFER 512

struct pl_data_t
{
	time_t curtime;
	char status[CHAR_BUFFER];
	char notif[CHAR_BUFFER/4];
	char * indic;
	char * wday;
	unsigned i;
	unsigned timer;
	struct tm * ttime;
};

struct pl_data_t * pl_data_init ( void );
void               pl_data_fill ( struct pl_data_t * in_data );
void               pl_data_free ( struct pl_data_t * in_data );

#endif
